package com.example.观察者模式;


import com.example.观察者模式.pull.NowConditionDisplay;
import com.example.观察者模式.pull.WeatherData;

public class pullMain {

    public static void main(String[] args) {
        WeatherData weatherData = new WeatherData();

        NowConditionDisplay nowConditionDisplay = new NowConditionDisplay(weatherData);

        weatherData.setMeasurements(80, 65, 30f);
    }
}
